
public class SuperMarket {
    
    public void sale(IGoods goods) {
        goods.sale();
    }
}